/****************************************************
          File Name:10-4.cpp
          Author: Abby Cin
          Mail: abbytsing@gmail.com
          Created Time: Tue 23 Dec 2014 03:19:10 PM CST
*****************************************************/

#include"10-4.h"

using namespace SALES;

int main()
{
    double backup[FOUR];

    for(int i = 0; i < FOUR; i++)
        backup[i] = 1.0309 + 1.0309 * i;

    Sales mine(backup, FOUR);     // constructor
    mine.showSale(mine);

    mine.setSale(mine);
    mine.showSale(mine);

    return 0;
}
